export interface IUserInfo {
  id: string
  nickname?: string
  avatar?: string
  phone?: string
  role?: string
}

export interface IAddUser extends Partial<Omit<IUserInfo, 'id'>> {
  password: string
  username: string,
  publicKey?: string
}

export interface IUpdatePassword {
  password: string
  newPassword: string
  reNewPassword:string
  publicKey?: string
}

export interface IUserBindStore extends Pick<IUserInfo, 'id'> {
  storeId: string
}